Machine Learning with Core ML 2 and Swift: A beginner-friendly guide to integrating machine learning into your apps (Swift Clinic) by Nyisztor Karoly

Machine Learning with Core ML 2 and Swift: A beginner-friendly guide to integrating machine learning into your apps (Swift Clinic) by Nyisztor Karoly

Author:Nyisztor, Karoly [Nyisztor, Karoly]
Language: eng
Format: epub
Published: 2018-10-18T16:00:00+00:00


performVisionRequest (image: uiImage)

}

Build and run the project. Choose an image that contains rectangular areas like the following one:

If the app detects one or more rectangular areas in the image, the console will display the observations including the normalized coordinates of their bounding rectangle’s corners:

[<VNRectangleObservation: 0x2803d3840> 1ABF5ED2-73CC-4945-93F4-92134C5A5D1F, revision 1, 1.000000 [0.341141 0.193694 0.280563 0.208262]]

Next, you’re going to display the results in a more user-friendly way.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.